
$c1:#ed145b;
body > div {
    width: 100%;
    > div{
        margin: 0 auto;
        width: 1089px;
    }
}
html body {
    height: 100%;
    background: #ffffff;
  }
.head-top-box{
    width: 100%;
    background: #F2F2F2;
    border: 1px solid #ccc;
}
.head-top{
    height: 28px;  
    width: 1089px;
    margin: 0 auto;
    .top_left{
        >li{
            line-height: 28px;
            color: #6c6c6c;
            font-size: 12px;
            float: left;
            margin-right: 20px;
            a{
                font-size: 12px;
                color: #6c6c6c;
            }
        }
    }
    .top_left_hide{
        height: 28px;
        float: left;
        display: none;
        span,p,i{
            line-height: 28px;
            float: left;
            font-size: 14px;
            color: #666;
        }
         p{
          margin: 0 5px ;
          color: $c1;
        }
        i{
        
            a{
                color: $c1;
                margin: 0 3px;

            }
        }

    }
    .top_right{
        >li{ 
            color: #999;
            font-size: 12px;
            float: right;
            line-height: 28px;
            padding: 0 10px;
            
            .phone{
                padding:0 10px;
                color: $c1 !important;
            }
            a{
                font-size: 12px;
                color: #999;
                span{
                    font-size: 10px;
                }
            }                     
        }

    }
    & li a:hover{
        color: $c1 ;
    }
    
    .me_jm{
        position: relative;
       
        a{
            pointer-events: none;
            p{
                display: inline-block;
                position: absolute;
                font-size: 12px;
                pointer-events: none;
            }
        }
        &.me_jm:hover{
            background: #fff;
            box-shadow: 0px 0px 2px #6c6c6c;
            border-bottom: 1px solid #fff;
        }
        div{
            width: 112px;
            overflow: hidden;           
            position: absolute;
            background: #fff;
            padding: 8px 0;
            right: -1px;
            top: 29px;
            border: 1px solid #ccc;
            border-top: none;
            box-shadow: 0px 1px 1px #6c6c6c;
            z-index: 10;
            display: none;        
            ol{
                cursor: pointer;
                a{
                    display: block;
                    width: 100%;
                    height: 28px;
                    text-indent: 20px;                  
                }
            }
         }
       
    }  
    // 更多
    .right_more{
        position: relative;
        &:hover{
            background: #fff;
            border-bottom: 1px solid #fff;
            box-shadow: 0px 0px 2px #6c6c6c;
            
        }
        p{
            display: inline-block;
            position: absolute;
            font-size: 12px;
            pointer-events: none;
        }
        a{
            pointer-events: none;
        }
        div{
            width: 112px;
            overflow: hidden;           
            position: absolute;
            background: #fff;
            padding: 8px 0;
            right: 0;
            top: 29px;
            border: 1px solid #ccc;
            box-shadow: 0px 1px 1px #6c6c6c;
            border-top: none;
            display: none;
            z-index: 100;
            >ol{
                cursor: pointer;
                >a{
                    display: block;
                    width: 100%;
                    height: 28px;
                    text-indent: 20px;  
                  
                }
            }

        }


    }
}
.head-center{
    height: 110px;
    .log{
        margin-top: 12px;
        float: left;
        a{  
            width: 165px;
            height: 85px;
            display: block;
            background-image: url(../images/login_log.jpg);
        }
    }

    .search{
        margin-left: 124px;
        width: 536px;
        float: left;
        height: 100%;
        >form{
            padding-top: 28px;
            position: relative;
            >.inpt_search{
                width: 420px; 
                height: 15px;
                float: left;
                border: 3px solid $c1;
                padding: 7px 5px;
               
            }
            .btn_search{
                float: left;
                width: 100px;
                height: 35px;
                background-color: #F8296D;
                border: none;
                color: #fff;
            }
            .ul_search{
                position: absolute;
                top: 63px;
                height: max-content;
                z-index: 30;
                display: none;
                box-shadow: 0 0 2px #ccc;
                li{
                   cursor: pointer;
                   width: 416px;
                   height: 25px;
                   padding: 8px;
                    background: #fff;
                   
                   &:hover{
                        background: #ccc;
                   }
                }
            }
            
        }
        >ul{
            margin-top: 6px;
            float: left;
            >li {
                float: left;
                font-size: 12px;
               
                span{
                    margin: 0 8px;
                    color: #999;
                }
                a{
                    color: #999;
                    &:hover{
                        color: $c1;
                    }
                }
            };
        }
    }

// 购物车
    .shopping-cart{
        float: right;
        margin-top: 33px;
        position: relative;
        z-index: 20;
        border: 1px solid #ccc;
        >a{
            pointer-events:none ;
            width: 132px;
            height: 32px;
            display: block;            
            color: #6c6c6c;
            position: relative;
            z-index: 16;
            background: #fff;
            >img{
                float: left;
                padding:0 9px;
            }
            >span{
                float: left;
                width: 81px;
                height: 32px;
                font-size: 12px;
                line-height: 32px;
                
            }
            >p{
                font-size: 12px;
                position: absolute;
                right: 2px;
                top: 12px;
            }
        }
        // num
        .num{
           width: 27px;
           height: 30px;
           display: none;
           background: url('http://a2.jmstatic.com/6af6d8c6b9b5ec16/header_sprites1.png') no-repeat;
           position: absolute;
           background-position: 0 -69px;
           z-index: 21;
           top: -12px;
           left: 30px;
           text-align: center;
           line-height: 25px;
           color: #fff;
           font-size: 10px;
        }
        // 移入事件
        >div{
           z-index: 1;
           width: 300px;
           position: absolute;
           right: 0;
           top: 32px;
           text-align: center;
           font-size: 12px;
           background: #fff;
           color: #999;
           box-shadow: 0 0 2px #000;
           z-index: 15;
           border: none;
           display: none;
           .kong{
               width: 300px;
               line-height: 16px;
               text-align: center;
               padding: 20px;
           }
           .cart_shopping{
                >p{
                    line-height: 30px;
                    border-bottom: 1px solid #ccc;
               
                }
                >ul{
                    max-height: 400px;
                    overflow-x: hidden;
                    overflow-y: scroll;
                    >li{
                        width: 100%;
                        height: 64px;
                        padding: 10px;
                        border-bottom: 1px #ccc dashed;
                        >a{
                            float: left;
                            width: 60px;
                            border: 1px solid #ccc;
                            overflow: hidden;
                            >img{
                                
                                height: 60px;
                                vertical-align: bottom;
                                margin-left: -40px;
                                
                            }
                        }   
                        >div{
                            height: 40px;
                            float: left;
                            width: 190px;
                            padding:0 10px;
                            text-align: left;
                            >p{
                                width: 208px;
                                height: 40px;
                                cursor: pointer;
                                line-height: 20px;         
                                font-size: 14px;
                                text-decoration: none;
                                color: #333;

                                overflow:hidden; 
                                text-overflow:ellipsis;
                                display:-webkit-box; 
                                -webkit-box-orient:vertical;
                                -webkit-line-clamp:2;
                                margin-bottom: 5px; 
                            }
                            >span:nth-child(2){
                                color: #eb155b;
                                font-family: arial;
                            }
                            >span{
                                font-size: 14px;
                                cursor: pointer;
                            }
                        }                           
                    }
                }
                .shapp_number{
                    overflow: hidden;
                    padding: 10px;
                    >div{
                        float: left;
                        .number_p1{
                            font-size: 14px;
                            color: #000;
                            font-family: arial;
                            span{
                                color: #eb155b;
                                font-family: arial;
                                font-weight: 1000;
                            }
                        }
                        .number_p2{
                            font-size: 16px;
                            color: #000;
                            margin-top: 10px;
                            font-family: arial;
                            span{
                                color: #eb155b;
                                font-family: arial;
                                line-height: 16px;
                                font-weight: 700;
                                margin-left:4px;
                            }
                        }
                    }
                    >button{
                        float: right;
                        width: 115px;
                        height: 35px;
                        background: $c1;
                        color: #fff;

                    }
                }

           }
        }
    }

}


.head-nav{
   width: 100%;
   height: 38px;
   background: #000;
   pointer-events: none;
   nav{
        width: 1089px;
        height: 38px;
        margin:  0 auto;
        box-shadow: 0 0 2px #6c6c6c;
        position: relative;
       >ul{
        >li{
            height: 38px;
            float: left;
            padding: 0 22px;
            line-height: 32px;
            a{
                color: #fff;   
                font-size: 14px;      
            }
            &:hover a{
                color: #999999;
            }
            &:first-child{
                background: $c1;
                padding: 0 40px;
             }
 
          }
          .icon_prant{
            position: relative;
             pointer-events: stroke;
             }
        }
        .hide_nav{
            width: 1196px;
            height: 308px;
            position: absolute;
            top: 38px;
            left: 0;
            pointer-events: stroke;
            z-index: 100;
            background: rgb(221, 142, 142);
            display: none;
            div:first-child{
                width: 254px;
                height: 136px;
                float: left;
                margin: 10px;
                >a{
                    width: 254px;
                    height: 135px;
                    overflow: hidden;
                    img{
                        width: 254px;
                    }
                }
            }
            .hide_nav_ul{
                width: 75%;
                float: left;
                    >dl{
                        width: 256px;
                        float: left;
                        height: 104px;
                        overflow: hidden;
                        border:1px dotted #e5e5e5;
                        border-width: 0 0 1px 1px;
                        padding: 10px 0 22px 7px;
                        >dt{

                            line-height: 30px;
                            height: 30px;
                            overflow: hidden;
                            padding-left: 40px;
                            margin-bottom: 12px;
                            font-size: 14px;
                        }
                        >dd{
                            font-size: 12px;
                            float: left;
                            line-height: 20px;
                            padding: 0 12px;
                            color: #666;
                        }
                    }                    
                }
        }

            p{
                position: absolute;
                width: 6px;
                height: 3px;
                color: #fff;
                background: #000;
                right: 8px;
                top: 2px;
            }
        >div{
            float: right;
            >span{
                margin-top: 7px;
                margin-left: 7px;
                display: inline-block;
                width: 30px;
                height: 30px;
            }
            >span:first-child{        
                background-image: url(http://a3.jmstatic.com/0d4bbfe600f8d38b/z_01new.jpg);
            }
            >span:last-child{ 
                background-image: url(http://a1.jmstatic.com/79ab7f2d9d35ac68/z03.jpg);
            }
    
        } 
       }         
   }



// banner
.banner{    
       div{
           height: 400px;
           position: relative;
            .lunbotu{
                width: 1089px;
                margin: 400px;
                margin: 0 auto;   
                overflow: hidden;   
                z-index: 5; 
                >ul{
                    width: max-content;
                    position: absolute;
                      
                    >li{
                        
                        float: left;
                       >a{
                            display: inline-block;           
                            img{
                                width: 1089px;
                                height: 400px;
                            }
                        }
                    }
                }
                >ol{
                    width: max-content;
                    height: max-content;
                    position: absolute;                  
                    bottom: 10px;
                    left: 0;
                    right: 0;
                    margin: 0 auto;
                    // align-items: center;
                    >li{
                        width: 40px;
                        height: 40px;
                        background: #ccc;
                        border-radius: 10%;
                        float: left;
                        font-size: 20px;
                        color: #fff;
                        text-align: center;
                        line-height: 40px;
                        cursor: pointer;
                    }
                    >li.active{
                        background: $c1;
                        color: rgb(113, 92, 92);
                    }
                }
                >p{
                    width: 50px;
                    height: 400px;
                    background: #ccc;
                    position: absolute;
                    cursor: pointer;
                    font-size: 40px;
                    line-height: 400px;
                    text-align: center;
                    color: #000;
                }
                .banner_left {         
                    top: 0;
                    left: 0;
                }
                .banner_right {
                    top: 0;
                    right: 0;
                }
            }
          

        }
    }

.banner-foot{
    h2{
        padding: 20px 0;
        height: 26px;
        background: url(http://a5.jmstatic.com/c9533ddc6b064f8f/old_top_tit.jpg) no-repeat center;
    }
}

.layout-tltle{
        border-bottom: 2px solid #000;      
        h2{
            height: 25px;
            background:url(http://a4.jmstatic.com/eaca15a907581788/main_tit02_02.png) #f7f7f7 no-repeat;
            span{
                float: right;
                color: $c1;
                font:12px/1.5 arial,'Hiragino Sans GB','\5FAE\8F6F\96C5\9ED1',sans-serif
            }
        } 
}

.layout-center{
    position:relative;
    >span{
        display: block;
        background: #000;
    }
    ul{
        width: 1110px;
        margin: 20px 20px 20px 0;
        li{
            width: 330px;
            height: 450px;
            padding: 10px;
            margin-right: 20px;
            margin-bottom: 20px;
            background: #ffffff;
            position: relative;
            float: left;
            cursor: pointer;
            .img_box{
                width: 330px;
                height: 345px;
                pointer-events: none;
                a{
                    display: block;
                    width: 330px;
                    height: 345px;
                    overflow: hidden;
                    img{
                        width: 862px;
                        height: 345px;
                        margin-left: -238px;
                    }
                }
            }
            // 移入显示半透明的div
            .commit_new{
                width: 330px;
                height: 345px;
                position: absolute;
                top: 10px;
                display: none;
                left: 10px;
                background: rgba($color: #ccc, $alpha: 0.1);
                span{     
                            
                    width: 79px;
                    height: 26px;
                    background: $c1;
                    position: absolute;
                    top: 0px;
                    right:0px;
                    font-size: 12px;
                    color: #fff;
                    line-height: 25px;
                    text-align: center;
                    cursor: pointer;
                }
                p{
                    width: 310px;
                    height: 30px;
                    position: absolute;
                    bottom: 0;
                    padding: 0 10px;
                    color: #fff;
                    
                    text-align: center;
                    line-height: 30px;
                    background: rgba(159,108,168,.6);
                }

            }

            // 商品简介
            .jianjie{
                width: 330px;
                height: 104px;
                margin-top: 10px;
                display: block;
                width: 330px;

                p{
                    display: block;
                    width: 330px;
                    height: 48px;
                    font-size: 13px;
                    line-height: 18px;
                }
                span{
                    height: 48px;
                    line-height: 45px;
                    color: $c1;
                    float: left;
                    font-size: 22px;
                    font-family: Arial,Helvetica,sans-serif;
                    margin-top: 10px;
                    margin-right: 10px;
                }
                >span:nth-child(3){
                    font-size: 14px;
                    text-decoration: line-through;
                    color: #999;

                }
            }

        }
    }

}

// 楼层
.home_nav_box{
    position: fixed;
    width: 100px;
    height: 186px;
    top: 200px;
    right: 50%;
    margin-right: 560px;
    overflow: visible;
    display: none;
    z-index: 22;
    cursor: pointer;
    .home_nav{
        width: 60px;
        height: max-content;
 
        >div{
            width: 60px;
            height: 44px;
            padding-top: 16px;
            text-align: center;
            font-size: 16px;
            color: #fff;
            background: #fe6397;
        }
        >ul{
            width: 60px;
            height: 60px;
    
            li:first-child{
                padding-bottom: 5px;
                p{
                    width: 60px;
                    padding-top: 40px;
                    text-align: center;
                    background: url(http://a4.jmstatic.com/00ee6e4ce1a1f31f/pc_new.jpg) #fff no-repeat;
      
                }
                >span{
                   width: 60px;
                   display: block;
                   font-size: 10px;
                   color: #666;
                   text-align: center;
                }
               &:hover p{
                background-position: -90px 0px;
               }
            }
            li:last-child{
                width: 60px;
                height: 44px;
                padding-top: 16px;
                background: #fe6397;
                text-align: center;
                color: #fff;
            }
            
        }
    }
}
.home_nav.active{
  display: block;  
}

// 页脚部分代码
.foot{
    border-top: 1px #000 solid ;
    .foot-heart{
        padding: 30px 0 0 ;
        
        .foot_top{
            height: 140px;
            border-bottom: 1px solid #000;
            a{
                width: 181px;
                height: 140px;
                float: left;
                text-align: center;
                span{
                    width: 63px;
                    height: 63px;
                    margin: 0 auto;
                    display: block;
                    background: url(http://a1.jmstatic.com/a80588af4bfc3be4/footer_0901.jpg);
                }
               .top_p1{
                    font-weight: bold;
                    font-size: 16px;
                    line-height: 24px;
                    cursor: pointer;
                }
                .top_p2{
                    font-size: 10px;
                }
              
                &:nth-child(2) span{
                    background-position-x: -64px;
                }
                &:nth-child(3) span{
                    background-position-x: -126px;
                }
                &:nth-child(4) span{
                    background-position-x: -190px;
                }
                &:nth-child(5) span{
                    background-position-x: -252px;
                }
                &:nth-child(6) span{
                    background-position-x: -316px;
                }
            }
            
        }
    
    
        .foot_top_sen{
            height: 250px;
            padding-top: 30px;
            display: flex;
            justify-content: space-around;
            background-color: #fff;
            ul{
    
                li:first-child{
                    font-size: 14px;
                    font-weight: 800;
                    margin-bottom: 10px;
                }
                li{
                    line-height: 22px;
                    font-size: 12px;
                    font-family: 宋体;
                    color: #666;
                    display: block;
                }
   
                }
            div{
                text-align: center;
                .erweima1{
                    width: 78px;
                    height: 78px;
                    background: url(http://a5.jmstatic.com/fa73c812fb960875/header_corn_new_v2.png) 0 -423px no-repeat;
                }
                .erweima2{
                    width: 78px;
                    height: 78px;
                    background-image: url(http://a3.jmstatic.com/81b63beae3ad62e0/jumei_weixin_footer.png);
                    background-position: 0 0;
                }
            }
        }
          
        }
    
    }
    .foot_log{
        width: 100%;
        height: 95px;
        background: url(http://a1.jmstatic.com/07c1f8519c836ade/footer_dy.jpg) no-repeat center;
    }

    .foot_center{
        width: 100%;
        height: 48px;
        background: #000;
        .foot_con{
            width: 1090px;
            margin: 0 auto;
            a{
                height: 48px;
                font-size: 12px;
                line-height:48px;
                float: left;
                color: #fff;
                margin-right: 12px;
            }

        }
    }

    .foot_bottom{
        p{
            display: block;
            color: #ccc;
            padding: 14px 0 18px;
            font-size: 12px;
            line-height: 23px;
            a{
                font-size: 12px;
                color: #ccc;
            }
        }
    }
